import { ConfigurePageContentItem } from './../views/miniAppPage/ConfigurePage/ConfigurePageType';
import { BaseResponse, request } from "../util/index";

export const getPageSetting = async (id: string) => {
	const { data } = await request.get<BaseResponse<ConfigurePageContentItem[]>>("/admin/pageSetting/content", { params: { id } });
	return data;
};
